package com.qf.mapper;

import com.qf.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface EmoployeeMapper {

    List<Employee> findAllEmployee();


    List<Employee> findEmployeeByCondition(@Param("ename") String ename, @Param("job") String job);

    int addEmployee(Employee employee);

    int deleteEmployee(int empno);

    int updateEmployee(Employee employee);
}
